home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-06-28 | 551 b | 33 lines | [TEXT/CWIE] |
- // PostponedEarBase.cp
-
- #ifndef PostponedEarBase_h
- #include "PostponedEarBase.h"
- #endif
-
- PostponedEarBase::PostponedEarBase( const Method& method )
- : scheduler( method )
- {
- }
-
- PostponedEarBase::PostponedEarBase( const Method& method,
- const Announcer& announcer )
- : EarBase( announcer ),
- scheduler( method )
- {
- }
-
- PostponedEarBase::~PostponedEarBase()
- {
- }
-
- void PostponedEarBase::HearAnnouncement()
- {
- if ( !scheduler.Pending() )
- scheduler.Schedule();
- }
-
- void PostponedEarBase::HearDestruction()
- {
- Assert( 0 );
- }
-